package com.anytrek.cloudcommodity;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableDiscoveryClient
@SpringBootApplication(scanBasePackages = {"com.anytrek.cloudcommodity", "com.anytrek.cloudopenfeign.config","com.anytrek.cloudcommon"})
@EnableFeignClients(basePackages = "com.anytrek.cloudopenfeign")
@MapperScan(basePackages = "com.anytrek.cloudcommon.mapper")
public class CloudCommodityApplication {

    public static void main(String[] args) {
        SpringApplication.run(CloudCommodityApplication.class, args);
    }

}
